package cn.com.dcsgo.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;

import lombok.Data;

/**
 * 销售机会表
 *
 * @author Dcsgo
 * @since 13/5/2025 上午 10:54
 */
@TableName(value = "sale_opportunity")
@Data
public class SaleOpportunity implements Serializable {
    /**
     * 销售机会id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 客户id
     */
    private Long custId;

    /**
     * 来源渠道id
     */
    private Long sourceChannelId;

    /**
     * 预计成交金额
     */
    private Double expectedTransactionAmount;

    /**
     * 当前阶段
     */
    private String currentStage;

    /**
     * 负责人id
     */
    private Long empId;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}